﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
</head>
<body>
    
            
            
  
    <!-- we need to include header here-->
	
    <header>
           <div id="logo">
        <div id="logo_text">
		  <img src="\images\logo2.png" height="70" width="70" align="left"/>
          <h1>&nbsp;Congress <br /><span class="logo_colour"> &nbsp;@Html.ActionLink("USA", "Index", "Home")</span></h1>
          
        </div>
      </div>
        
      <nav>
        <div id="menu_container">
          <ul class="sf-menu" id="nav">
            <li>@Html.ActionLink("Home", "Index", "Home")</li>
            <li>@Html.ActionLink("How we work", "Work", "Home")</li>
            <li>@Html.ActionLink("Latest News", "News", "Home")</li>
            <li>@Html.ActionLink("History", "History", "Home")</li>
            <li><a href="#">Houses</a>
              <ul>
                <li>@Html.ActionLink("House of Senators", "SentorDetails", "Home")</li>
                <li>@Html.ActionLink("House of Representative", "RepresentitiveDetails", "Home")</li>
              </ul>
            </li>
                  


              <li><!--/*                        javaboy login code                        -->
            @if (Request.IsAuthenticated)
            {
                 <a href="#"><strong>@Html.Encode(User.Identity.Name)</strong> </a>
               <ul>
                 <li>@Html.ActionLink("Log Out", "Logout", "_User")</li>
              </ul>

            }
            else
            {
                 @Html.ActionLink("Log In", "Login", "_User")
            }

             <!--              end of javaboy code                                     -->
      </li>
            <!--li><a href="Admin">Admin</a></!--li-->
          </ul>
        </div>
      </nav>
   

         </header>
   
           <div id="body">
<div id="site_content" class="contentofsite" >


            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>  </div>
      

        
        @RenderSection("scripts", required: false)

          <script src="@Url.Content("~/bundles/jquery")" type="text/javascript"></script>

  <footer>
      <p><img src="/images/twitter.png" alt="twitter" />&nbsp;<img src="/images/facebook.png" alt="facebook" />&nbsp;<img src="/images/rss.png" alt="rss" /></p>
      <p><a href="index.html">Home</a> | <a href="examples.html">Examples</a> | <a href="page.html">A Page</a> | <a href="another_page.html">Another Page</a> | <a href="contact.php">Contact Us</a></p>
      
    </footer>
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript" src="js/jquery.easing-sooper.js"></script>
  <script type="text/javascript" src="js/jquery.sooperfish.js"></script>
  <script type="text/javascript">
      $(document).ready(function () {
          $('ul.sf-menu').sooperfish();
          $('.top').click(function () { $('html, body').animate({ scrollTop: 0 }, 'fast'); return false; });
      });
  </script>
            </body>
</html>
